<#import "/freemarker/modeltype.ftl" as mt>
<div class="dataTables_title">
	<div class="dataTables_title_left">按钮注释</div>
	<div class="dataTables_title_right">
		<a class="btn" href="javascript:;"><i class="fontello-icon-newspaper"></i> 详情</a>
	</div>
</div>
<table class="table table-bordered animate2 fadeInUp">
	<tr>
		<th>标题</th>
		<th>是否负责</th>
		<th>申请机构</th>
		<th>申请人</th>
		<th>创建时间</th>
		<th>预计离职时间</th>
		<th style="width:100px;">审核状态</th>
		<th style="width:80px;">操作</th>
	</tr>
	<#list pageBean.resultList as re>
	<tr>
		<td>${re.reason}</td>
		<td><@mt.YesOrNo value=((re.head)!false) r=false /></td>
		<td>${re.on}</td>
		<td>${re.cn}</td>
		<td>${re.ct?string('yyyy-MM-dd HH:mm')}</td>
		<td>${re.ft?string('yyyy-MM-dd HH:mm')}</td>
		<td><#if (re.auditStatusList?? && re.auditStatusList?size gt 0)>
				<#list re.auditStatusList as list>
						<span><#if list.status?? && list.status == 1><font style="color:green;">通过</font><#elseif list.status?? && list.status == 2><font style="color:red;">未通过</font><#else>未审核</#if></span>
						<#break/>
				</#list>
			</#if>
		</td>
		<td style="text-align:center;">
				<input type="button" value="审核" class="blue radius4" 
				onclick="javascript: detail_resignationManager('${re.code}');return false;">
		</td>
	</tr>
	</#list>
</table>
<#import "/freemarker/pagination.ftl" as p>
<@p.pagination pageBean 'query_resignationManager'/>